<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>OpenXCP master: DwarfParser Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="openXCP.ico"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenXCP master
   &#160;<span id="projectnumber">version 0.1</span>
   </div>
   <div id="projectbrief">by Michael Wolf, master thesis, 2018</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_dwarf_parser.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="class_dwarf_parser-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">DwarfParser Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for DwarfParser:</div>
<div class="dyncontent">
<div class="center"><img src="class_dwarf_parser__coll__graph.png" border="0" usemap="#_dwarf_parser_coll__map" alt="Collaboration graph"/></div>
<map name="_dwarf_parser_coll__map" id="_dwarf_parser_coll__map">
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a67bd7396bec30664b42e33dffb678724"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67bd7396bec30664b42e33dffb678724"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DwarfParser</b> (const string &amp;elfFilePathName)</td></tr>
<tr class="separator:a67bd7396bec30664b42e33dffb678724"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a059ee24f9f5a2262af84eb246142bfb9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a059ee24f9f5a2262af84eb246142bfb9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>parse</b> ()</td></tr>
<tr class="separator:a059ee24f9f5a2262af84eb246142bfb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf896718b34e182860884a2f6a66d483"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf896718b34e182860884a2f6a66d483"></a>
map&lt; uint64_t, shared_ptr&lt; <a class="el" href="class_dwarf_tree_obj.html">DwarfTreeObj</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getDwarfTree</b> () const </td></tr>
<tr class="separator:aaf896718b34e182860884a2f6a66d483"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55bae35101c4c90e9a11501d4b987baa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a55bae35101c4c90e9a11501d4b987baa"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setElfFilePathName</b> (const string &amp;value)</td></tr>
<tr class="separator:a55bae35101c4c90e9a11501d4b987baa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a797ead7da6aad1150ce2092535ad7e7b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a797ead7da6aad1150ce2092535ad7e7b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>resolveVariables</b> (const dwarf::die &amp;node, bool isGlobalVariable)</td></tr>
<tr class="separator:a797ead7da6aad1150ce2092535ad7e7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9399991359f16b1cb8e560070161954"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac9399991359f16b1cb8e560070161954"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isVariableLocationValid</b> (const dwarf::die &amp;node)</td></tr>
<tr class="separator:ac9399991359f16b1cb8e560070161954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a005e5d6788117814ca1ac6546f37b5bf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a005e5d6788117814ca1ac6546f37b5bf"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isParentNodeSubProgramm</b> (const dwarf::die &amp;node)</td></tr>
<tr class="separator:a005e5d6788117814ca1ac6546f37b5bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a877dd39ced5a2fb75aecc6a1a7247ca5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a877dd39ced5a2fb75aecc6a1a7247ca5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addInfoToDwarfTreeObj</b> (const dwarf::die &amp;node, <a class="el" href="class_dwarf_tree_obj.html">DwarfTreeObj</a> &amp;dwarfTreeObj)</td></tr>
<tr class="separator:a877dd39ced5a2fb75aecc6a1a7247ca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78f4e0c797920a0077b6eaf8a0127ed0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78f4e0c797920a0077b6eaf8a0127ed0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addDwarfTreeObjToMap</b> (uint64_t key, shared_ptr&lt; <a class="el" href="class_dwarf_tree_obj.html">DwarfTreeObj</a> &gt; dwarfTreeObj)</td></tr>
<tr class="separator:a78f4e0c797920a0077b6eaf8a0127ed0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af798fae03d53bb2d1ee604a883d10303"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af798fae03d53bb2d1ee604a883d10303"></a>
AbstractType&#160;</td><td class="memItemRight" valign="bottom"><b>lookupAbstractTypeForVariable</b> (const dwarf::die &amp;node)</td></tr>
<tr class="separator:af798fae03d53bb2d1ee604a883d10303"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2c67cad3db8febf8c68283a54417cf8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2c67cad3db8febf8c68283a54417cf8"></a>
std::pair&lt; string, uint32_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>lookupDataType</b> (const dwarf::die &amp;node)</td></tr>
<tr class="separator:ad2c67cad3db8febf8c68283a54417cf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19123becf0f63178062f5883718d8c85"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19123becf0f63178062f5883718d8c85"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>lookupSrcPathCompileUnit</b> (const dwarf::die &amp;node)</td></tr>
<tr class="separator:a19123becf0f63178062f5883718d8c85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e27b93864e661264f3d949419b198c8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e27b93864e661264f3d949419b198c8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>lookupStructs</b> (const dwarf::die &amp;node)</td></tr>
<tr class="separator:a2e27b93864e661264f3d949419b198c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a601e6534d6e482f5d1c72175d14debd2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a601e6534d6e482f5d1c72175d14debd2"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>lookupAddrOfVariable</b> (const dwarf::die &amp;node, AbstractType absType)</td></tr>
<tr class="separator:a601e6534d6e482f5d1c72175d14debd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa18551303cc72fe3eeb52ef00b8c482d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa18551303cc72fe3eeb52ef00b8c482d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dwarf_parser.html#aa18551303cc72fe3eeb52ef00b8c482d">lookupStructElementsInDwarfTree</a> (<a class="el" href="class_dwarf_tree_obj.html">DwarfTreeObj</a> &amp;dwarf, uint64_t dwarfKey, int depth)</td></tr>
<tr class="memdesc:aa18551303cc72fe3eeb52ef00b8c482d"><td class="mdescLeft">&#160;</td><td class="mdescRight">reverse lookup, starting from struct name, set setStructElementsMapKey <br /></td></tr>
<tr class="separator:aa18551303cc72fe3eeb52ef00b8c482d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6775f7ce31c2c642ad663e5bdf275ac"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac6775f7ce31c2c642ad663e5bdf275ac"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addStructElementsToStruct</b> (<a class="el" href="class_dwarf_tree_obj.html">DwarfTreeObj</a> &amp;dwarfStruct, vector&lt; uint64_t &gt; &amp;dwarfStructKeys)</td></tr>
<tr class="separator:ac6775f7ce31c2c642ad663e5bdf275ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc48d6b812417caf45139e9104bd6ebc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acc48d6b812417caf45139e9104bd6ebc"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>stringHexToDec</b> (const string &amp;hexString)</td></tr>
<tr class="separator:acc48d6b812417caf45139e9104bd6ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a09c9c40c5073580f300e6c04c026bebc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a09c9c40c5073580f300e6c04c026bebc"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>elfFilePathName</b></td></tr>
<tr class="separator:a09c9c40c5073580f300e6c04c026bebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38a877fb199b85892f53e9c7f552b1f1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38a877fb199b85892f53e9c7f552b1f1"></a>
map&lt; uint64_t, shared_ptr&lt; <a class="el" href="class_dwarf_tree_obj.html">DwarfTreeObj</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>dwarfTree</b></td></tr>
<tr class="separator:a38a877fb199b85892f53e9c7f552b1f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48d8c7ddede09d3ca434ae44cd691a05"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48d8c7ddede09d3ca434ae44cd691a05"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>srcPathCompileUnitLast</b></td></tr>
<tr class="separator:a48d8c7ddede09d3ca434ae44cd691a05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa230903acd1620d1fa9c08abef3357f3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa230903acd1620d1fa9c08abef3357f3"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>structNameLast</b></td></tr>
<tr class="separator:aa230903acd1620d1fa9c08abef3357f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:a0fa6f41f05d220783ce486793972c8ce"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0fa6f41f05d220783ce486793972c8ce"></a>
static const int&#160;</td><td class="memItemRight" valign="bottom"><b>STRUCT_MEMBER_SEARCH_DEPTH_MAX</b> = 3</td></tr>
<tr class="separator:a0fa6f41f05d220783ce486793972c8ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="dwarf_parser_8h_source.html#l00021">21</a> of file <a class="el" href="dwarf_parser_8h_source.html">dwarfParser.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/shreaker/Studium/Masterarbeit/git/Open-XCP/Master/Qt_Open_XCP/parser/<a class="el" href="dwarf_parser_8h_source.html">dwarfParser.h</a></li>
<li>/home/shreaker/Studium/Masterarbeit/git/Open-XCP/Master/Qt_Open_XCP/parser/<a class="el" href="dwarfparser_8cpp_source.html">dwarfparser.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_dwarf_parser.html">DwarfParser</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
